package com.study.securitydemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author weiyongpeng
 * @ClassName: IndexController
 * @Description: TODO
 * @date 2024/10/26
 */
@Controller
public class IndexController {

    @GetMapping("/")
    public String index(){
        return "index";
    }


    @GetMapping("/login")
    public String login(){
        return "login";
    }
}